package com.example.mybatisplus.service.impl;

import com.example.mybatisplus.mapper.LoginMapper;
import com.example.mybatisplus.model.domain.User;
import com.example.mybatisplus.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LoginServiceImpl implements LoginService {

    @Autowired
    private LoginMapper loginMapper;

    public User login(User user){
        return loginMapper.login(user);
    }
}
